export interface HomeData {
    data: {
        list: Array<HomeDataType>
    }
}

export interface HomeDataType {
    banners?: Array<BannerType>
    module: number
    list?: Array<ListType>
    name: string
}

export interface BannerType {
    module: number
    name: string
    p_action: number
    aboveAd: string
    cover: string
    id: string
    msgId: number
    p_id: string
    title: string
    url: string
}

export interface ListType {
    author: string
    category: string
    clickCount: number
    content: string
    cover: string
    id: string
    integrity: number
    nprice: number
    nwprice: number
    p_action: number
    recomContent: string
    title: string
}
//  首页

export interface ClassifyType {
    cates: Array<CatesType>
    channel: string
    name: string
}

export interface CatesType {
    cateId: string
    cateName: string
}

//分类

export interface DetailType {
    feed: DetailData
}

export interface DetailData {
    entry: {
        title: string
        summary: string
        updated: string
        author: {
            name: string
        },
        content: {
            text: string
        },
        'pris:book': {
            authorizer: string
            category: string
            words: string
            updated: string
            totalArticleCount: Array<Total>
        }
        'pris:subscribe': {
            clicksCount: string
        }
        link: {
            href: string
        }
    }
}

export interface Total { }

export interface LatestType {
    item: {
        latestArticleTitle: string
    }
}


export interface ListType {
    data: {
        book: {
            coverImage: string
            author: string
            title: string
            sourceUuid: string
        }
        catalog: Array<catalog>
    }
}

export interface catalog {
    secId: string
    title: string
    uuid: string
}

export interface ReadData {
    data: ReadType
}

export interface ReadType {
    content: string
}

export interface HotWordType {
    list: Array<HotWord>
}

export interface HotWord {
    id: string
    name: string
}

export interface SearchData {
    data: SearchType
}

export interface SearchType {
    books: Array<BookType>
}

export interface BookType {
    cover: string
    category: string
    summary: string
    author: string
    title: string
    bookId: string
}

export interface MaleRankData {
    data: MaleRank
}

export interface MaleRank {
    books: Array<BooksType>
}

export interface BooksType {
    author: string
    category: string
    description: string
    iconUrl: string
    title: string
    sourceUrl: string
}

export interface MaleClassifyData {
    data: MaleClassifyBooks
}

export interface MaleClassifyBooks {
    books: Array<MaleClassify>
}

export interface MaleClassify {
    author: string
    category: string
    description: string
    iconUrl: string
    readCount: string
    sourceUrl: string
    title: string
}